/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package src.domain.saving;

/**
 *
 * @author jasuke
 */
public class Savprodcompul implements java.io.Serializable{
    
    private SavprodcompulId id;
    private Integer compulsavprodId;

    public Savprodcompul() {
        this.id = new SavprodcompulId();
    }

    public static Savprodcompul clone(Savprodcompul original) {
        Savprodcompul copy = new Savprodcompul();
        if (original != null) {
            copy.setId(original.getId());
            copy.setCompulsavprodId(original.getCompulsavprodId());
        }
        return copy;
    }
    
    public Integer getCompulsavprodId() {
        return compulsavprodId;
    }

    public void setCompulsavprodId(Integer compulsavprodId) {
        this.compulsavprodId = compulsavprodId;
    }

    public SavprodcompulId getId() {
        return id;
    }

    public void setId(SavprodcompulId id) {
        this.id = id;
    }

    //public Savprod getSavprod() {
    //    return savprod;
   // }

    //public void setSavprod(Savprod savprod) {
     //   this.savprod = savprod;
    //}
    
    
}
